package com.hk.service.impl;

import org.springframework.stereotype.Service;

import com.hk.commons.LongId;
import com.hk.commons.entity.Eqpt;
import com.hk.dao.base.impl.BaseServiceImpl;
import com.hk.service.kyc.IEqpt;

@Service
public class EqptImpl extends BaseServiceImpl<Eqpt> implements IEqpt {

	@Override
	public Eqpt findById(Long id) {
		return this.findById(id);
	}

	@Override
	public void add(Eqpt u) {
		Long id = LongId.get();
		u.setId(id);
		this.save(u);
	}

}
